# TODO: Add comment
# 
# Author: Roger
###############################################################################


setGeneric("getDate",function(object)standardGeneric("getDate"))
setGeneric("setDate<-",function(object,value)standardGeneric("setDate<-"))

setGeneric("getData",function(object)standardGeneric("getData"))
setGeneric("setData<-",function(object,value)standardGeneric("setData<-"))

setGeneric("aggregateCurrency",function(object)standardGeneric("aggregateCurrency"))

setGeneric("generateCashFlows",function(object)standardGeneric("generateCashFlows"))

setGeneric("as.DiscountFactor",function(object)standardGeneric("as.DiscountFactor"))
setGeneric("as.ZeroRateCurve",function(object)standardGeneric("as.ZeroRateCurve"))
setGeneric("as.ZeroRateSpread",function(object)standardGeneric("as.ZeroRateSpread"))

setGeneric("presentValue",function(object,arg1)standardGeneric("presentValue"))

setGeneric("duration",function(object,DF)standardGeneric("duration"))
setGeneric("convexity",function(object,DF)standardGeneric("convexity"))
setGeneric("dv01",function(object,arg1)standardGeneric("dv01"))
setGeneric("dv01empirical",function(object,arg1)standardGeneric("dv01empirical"))

setGeneric("delta",function(object,arg1)standardGeneric("delta"))
setGeneric("gammma",function(object,arg1)standardGeneric("gammma"))
setGeneric("deltagamma01",function(object,arg1)standardGeneric("deltagamma01"))
setGeneric("deltagamma01empirical",function(object,arg1)standardGeneric("deltagamma01empirical"))

setGeneric("theta",function(object,arg1)standardGeneric("theta"))

setGeneric("vega",function(object,arg1)standardGeneric("vega"))
setGeneric("vomma",function(object,arg1)standardGeneric("vomma"))
setGeneric("vegavomma01",function(object,arg1)standardGeneric("vegavomma01"))
setGeneric("vegavomma01empirical",function(object,arg1)standardGeneric("vegavomma01empirical"))

setGeneric("rho",function(object,arg1)standardGeneric("rho"))
setGeneric("rho2",function(object,arg1)standardGeneric("rho2"))

setGeneric("rhoCoC",function(object,arg1)standardGeneric("rhoCoC"))
setGeneric("rhoCoC2",function(object,arg1)standardGeneric("rhoCoC2"))

setGeneric("estimateIRR",function(object)standardGeneric("estimateIRR"))
setGeneric("estimateZeroSpread",function(object,DF)standardGeneric("estimateZeroSpread"))
